﻿@model BlackBird.Models.NewProjectDM
@using BlackBird.Resources


<section class="overlay_window">

    <header>
        <h1>@BBStrings.NewProject</h1>
    </header>

    @using (Html.BeginForm(MVC.Project.NewProject(),FormMethod.Post))
    {
        @Html.ValidationSummary(true)

        <div class="editor-label">
            项目名称：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>
        
        <div class="editor-label">
            项目缩写：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SuoXie)
            @Html.ValidationMessageFor(model => model.SuoXie)
        </div>

        <div class="editor-label">
            联系人：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactorInfo.RealName)
            @Html.ValidationMessageFor(model => model.ContactorInfo.RealName)
        </div>

        <div class="editor-label">
            联系电话：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactorInfo.Tel)
            @Html.ValidationMessageFor(model => model.ContactorInfo.Tel)
        </div>
     
        <div class="editor-label">
           项目地址：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactorInfo.Address)
            @Html.ValidationMessageFor(model => model.ContactorInfo.Address)
        </div>
           
        <div class="editor-label">
            项目描述：
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <p>
            <input type="submit" value="@BBStrings.Confirm" />
        </p>

    }

</section>

